<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
<title>Splash</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</HEAD>

<BODY>
<h1>Splash command</h1>

<h2>Purpose</h2>

<p>Displays an image for a specified number of seconds when the file that contains the HTML Help ActiveX control is opened. For example, using the <b>Splash</b> command, you could display a product logo or welcome message when a compiled help (.chm) file or Web page is first opened.</p>

<p>This command can be used with either a compiled help file or uncompiled HTML files.</p>


<h2>Syntax</h2>

<p><pre><code>
&lt;PARAM  name=&quot;Command&quot; value=&quot;Splash&quot;&gt;
<br>&lt;PARAM  name=&quot;Item1&quot;   value=&quot;<i>image file path</i>&quot;&gt;
<br>&lt;PARAM  name=&quot;Item2&quot;   value=&quot;<i>millisecond value</i>&quot;&gt;
<br>[&lt;PARAM name=&quot;Item3&quot;   value=&quot;<i>alternate image file path</i>&quot;&gt;]
</pre></code></p>
	
<br>
<table border=1 cellpadding=0 cellspacing=0 width=100%>
<tr valign=top>
<th width=25%>
<b>Property</b>
</th>
<th>
<b>Description</b>
</th>
</tr>

<tr valign=top>
<td>
<a href="ocx_pcommand.htm">Command</a>
</td>
<td>
Calls the <b>Splash</b> command.
</td>
</tr>
<tr valign=top>
<td>
<a href="ocx_pitem.htm">Item1</a>
</td>
<td>
Specifies the image file path. Supported image file formats are .gif, .jpeg, or .bmp.
</td>
</tr>
<tr valign=top>
<td>
<a href="ocx_pitem.htm">Item2</a>
</td>
<td>
Specifies the length of time to display the image in milliseconds (1000 milliseconds = 1 second).
</td>
</tr>
<tr valign=top>
<td>
<a href="ocx_pitem.htm">Item3</a>
</td>
<td>
Specifies an alternate image file to display if the user's display configuration supports more than 256 colors. Optional.
</td>
</tr>
</table>


<h2>Example</h2>

<p><pre><code>
&lt;OBJECT
<br>  id=splash
<br>  type="application/x-oleobject"
<br>  classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
<br>  codebase="Hhctrl.ocx#Version=4,72,8252,0"
<br>&gt;
<br>  &lt;PARAM name="Command" value="Splash"&gt;
<br>  &lt;PARAM name="Item1" value="test.gif"&gt;
<br>  &lt;PARAM name="Item2" value="5000"&gt;
<br>&lt;/OBJECT&gt;
</pre></code></p>


<h2>Sample Splash command</h2>
<p>Click <a href="ocx_splash_ex.htm">here</a> to see a splash screen.</p>


<h2>Comments</h2>
<ul>
<li>You should insert the HTML Help ActiveX control between the <code>&lt;BODY&gt;</code> start and end tags of the file. Use of the control within the <code>&lt;FRAMESET&gt;</code> start and end tags is currently not supported. If you want to use the <b>Splash</b> command with a frameset, insert the control within the default HTML file that is specified in the frameset document.</li>
</ul>

<br>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td valign="top"><a href="ocx_commands.htm"><img src="proced.gif" alt="link to overview topic" border="0"></a>
</td>
<td><a href="ocx_commands.htm">About commands</A>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>

</BODY>
</HTML>
